package r5.pierwszy.raz;

public class KodyMieszajace {
	
	public static void main(String[] args) {

		String s = "Ok";
		StringBuilder sb = new StringBuilder(s);
		System.out.println(s.hashCode() + " - " + sb.hashCode());
		
		String t = "Ok";
		StringBuilder tb = new StringBuilder(t);
		System.out.println(t.hashCode() + " - " + tb.hashCode());
		
		System.out.println(s.equals(t));
		System.out.println(sb.equals(tb));
	}

}
